﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class SupportService
	{
		private static readonly SupportDAL db = new SupportDAL();
		#region[Support_GetById]
		public static DataTable Support_GetById(string Id)
		{
			return db.Support_GetById(Id);
		}
		#endregion
		#region[Support_GetByAll]
		public static DataTable Support_GetByAll()
		{
			return db.Support_GetByAll();
		}
		#endregion
		#region[Support_GetByTop]
		public static DataTable Support_GetByTop(string Top, string Where, string Order)
		{
			return db.Support_GetByTop(Top, Where, Order);}
		#endregion
		#region[Support_Insert]
		public static void Support_Insert(SupportInfo Data)
		{
			 db.Support_Insert(Data);
		}
		#endregion
		#region[Support_Update]
		public static void Support_Update(SupportInfo Data)
		{
			 db.Support_Update(Data);
		}
		#endregion
		#region[Support_Delete]
		public static void Support_Delete(string Id)
		{
			 db.Support_Delete(Id);
		}
		#endregion
	}
}